<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>手风琴效果</title>
    <link rel="stylesheet" href="./css/index.css" />
  </head>
  <body>


    <ul class="container">
        <li class="menuitem">
            <h2>标题1</h2>
            <ul class="submenucontainer">
                <li class="subitem">子项1</li>
                <li class="subitem">子项2</li>
                <li class="subitem">子项3</li>
                <li class="subitem">子项4</li>
            </ul>
        </li>
        <li class="menuitem">
            <h2>标题2</h2>
            <ul class="submenucontainer">
                <li class="subitem">子项1</li>
                <li class="subitem">子项2</li>
                <li class="subitem">子项3</li>
                <li class="subitem">子项4</li>
            </ul>
        </li>
        <li class="menuitem">
            <h2>标题3</h2>
            <ul class="submenucontainer">
                <li class="subitem">子项1</li>
                <li class="subitem">子项2</li>
                <li class="subitem">子项3</li>
                <li class="subitem">子项4</li>
            </ul>
        </li>
        <li class="menuitem">
            <h2>标题4</h2>
            <ul class="submenucontainer">
                <li class="subitem">子项1</li>
                <li class="subitem">子项2</li>
                <li class="subitem">子项3</li>
                <li class="subitem">子项4</li>
            </ul>
        </li>
    </ul>

    <script src="./js/commonAnmiate.js"></script>
    <script src="./js/index.js"></script>
  </body>
</html>
